import React, { Component } from 'react';

export default class App extends Component {
  state={
    value:"🍌"
  }
  handleChange=(e)=>{
    console.log(e)
    console.log(e.target.value)
    this.setState({
      value:e.target.value,
    })
  }
  render() {
    return (
      <div>
        <select name="" id="" value={this.state.value}
        onChange={this.handleChange}>
          <option value="🍉">🍉</option>
          <option value="🍓">🍓</option>
          <option value="🍌">🍌</option>
        </select>
      </div>
    );
  }
}


